Added a bit of explanatory comments