adds validation to the reviews so they are limited to a specific range