updated params handling