added the ability to change number of starting cells