declared validator