added hex validator