A simple example of compass