adding a few extra compass functions