Added getValue method to select compoenent