Adding error message if arguments are missing