add compile of compass