omg optimized
Offline sync!