Basic functions done for e-discipline