make x and y optional when writing

If x or y aren't specified when writing, continue from the previous location.