changed to one parameter