changed other to reference tileGrid rather than itself