Pass correct paramaters