changes from review session
updated Swift examples