new straigthforward version for getting values