added advanced value checks isInteger, inRange
clean up