chang to PDO + pager