Added ValueRange for simple functionality and to improve code
readability. This will be fleshed out later.