accept string arguments in addition to array