added comments function