make validate public, utility function for getting targets array
error on invalid list