implemet command pattern for synchronization actions