added environment tiling
collisions working