With current code `$findType` is always `all`, it might be better to not use the variable