lots of commented code