put arguments in array