make sure correct input is given by user else print usage / errors