add a comment describing optimizations