working through excercises
done functions portion