removed commented function enable_fullsync, and comments