added in obstacle tiles and handling