Added Comments
Code Updated. Tested.