Modified postDiscipline and getDiscipline