ensuring only valid disciplines are accepted