added variable selection