Shouldn't this return tiletype