added compass stuff