added x and y for tile