function argument passing fixed