fix parameters in methods to include name