More detailed comments

Should be easier to understand how to implement.