partial calling on function