Removed unused datasets library and rename variable