commiting and syncing