updated set verb to use correct data structure