lab 2 changes made, m now comes in from command line