Adding insertItem logic to PDO driver