Added ability to pass 2 args as min and max