Mathsync setup