getting compass working