added in compass support