add PDO and delete framework