Encapsulated a variable