started sync with doattend function