updated compass module template - still needs adjusting, though