Improved PDO-example