got compass working, make sure to use toString() for innerHTML