reads argument from command line