refactoring for results of alpha, beta, condsql, prsql