add sync behaviour