Changed ex 1 fixed errors