Compare value type and value now can be dynamically changed