Adds Code for certificate