function define with multiple arguments