Added the compass example