allow both transform and transformer params to be used