fixed, added sync, renamed, added docs