dfferent way to get value