draw compass, extract to function