added variable search