added comments & functions