Added startingCell and endCell