added comments and edited attribution