method was