Lib after sync1 and basic sync2 implemented