added comments so i remember what i did when i look at it tomorrow