class function to vet constructor options