constraint helper methods