came up with better logic for finding tileracks