program compiles
added notes on the problem