change Page interface to writer