min/max params added