Extremely messy work in progress with cell_contains.