implemented write, started synch