explanation

added comments