Added min/max values

Closes #9