Compass working

Spent 3 hours more thanks to Jacob