remove variable search functions
use private and public scope instead