add PDO object lazy loading logic