Add compass class example