Some inline comments explaining why we are doing all these things would be helpful too.