Added a check to make sure an argument was provided