Added logic comments

...and still trying to figure why it is not working...