Got compass working