added tiles and collision