added psi column to data frame