set method parameters corrected