add write_to to number