Added the description for the changes I made and how to use the code