method setup