and this will probably need to be delayed until the right position in the response stream