new and improved pdo wrapper