new cell position vars. started new logic algorithm implementation