added comments and attributions