removed tabs and added command line arguments