changed input parameters

doesn’t need x and y based on current design