simplified Variable implementation, removed indexing functionality