adding sync command