reconstruct this so it works in 12 correctly, link to Cert Man