Implemented changes to compass.