writeStartToPosition