minor updates to parameter input for types; now searches metadata