add certificate status and play around with formating