added a wrapper on top of PDOwrapper