added code from day 26 class