compass example