upd functions #2