using value object to set pdo config