legal and ethical implications