unntested compass code
fixes