method now takes params
handles array of 1 string
handles array of multiple strings