Added some ideas and thoughts to the code