updated getting of values