added weights so not all cells are identical