main: check if argument is passed