added comments -- working version