add sync

Signed-off-by: Yakov Tchenak <ytchenak@gmail.com>
add sync