added inline comments
added fine grade permissions