Added all of the compass stuff.