removed  write_to_page 2