generate controller comments