[UPD] main programm and unittest