Added commentary to current code