function param and name changed