Added some comment lines to make code (hopefully) more readable for jreback