modified simple environment to check all bodies and not just table