implementation and test of some function in administration_model