readded collision detection to environment (NOT CELLS, THAT'S NOT A GOOD IDEA)
and fixed the unnecessary arguments