changed some code

added more description