obtaining information from a variable