added code for the cells that make up the environment