Added Compass functionality