introducing error handling for incorrect number of arguments