modify ResponseWriter interface method