rewrote emptyCells with list comprehensions -> much better