submitted exercise1-7