Fixed inconsistent naming of firstPosition and startPosition