add possibility to supply multiple arguments instead of array to range