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