it looks like startField and endField could be in the method calling this instead