State agency grapples with technical and ethical challenges.