Add ability to accept arguments for range