first compass example, not working very well...