command line arguments and example added