Added the possibility to manually specify a start value
Added error checking