created ex7
finished ex7