defense to prosecution