receives and reacts correctly to sync