sync
sync
test par and theta (and fix associated bugs)