works for custom-number with multiple arguments