add in error handeling for wrong command line input