Compass code added and not working.