refactor constants in checks