Almost half of prisoners re-offend within three years of release