changes to not use imageNamed method