min was still being called instead of minimum here
Merge pull request #22 from jfsantos/patch-1

min was still being called instead of minimum here