add some comments about the idea behind my solution