added code from second day of the weekly challenge