comments for checks to see if actions are allowed