added comments everywhere i could. removed what didnt need to be there