Add inSubmissionPhase and inSelectionPhase functions