method parameters might be passed as array or object