added new way to change parameters