adding getValue to ApplicationContext