checking with a simple example