comments in middleware