correct usage of parameters