Fixed issue where variable name was never initialized, changed to method get_info instead