create a class to alert the user they can't do something