Added compass example