David's certification implementation