creating atomic functions of DiaControl