check the values are greater than set values