minor changes to parmaeter letter and var name