add event-pointer to prevent cells from being chosen twice