implement backend of validator