Added an example where you can limit the range