change from using objects to using strings