#1 exercise solved