pre-pdo switch
messy pdo complete