sync working on both client and server using same basic code now. Test
is available so easy to fix in case of problems