pdo and method chaining