Sync for CCORE - prototype - part 4 (not final, working version)