working on synchronisation