check the values also