passing arguments working