accept parameter as it instead of converting it to array