trying to do ex 1