some changes to how tiles are generated