added comments
Sync routine partially complete, need to handle event better
sync routine completed