add more comments; fixed wrong template name