reduce the max number of params to 2