Synced model and code