params for each function should now be current