add check argument function and modify multiple arguments function