added exercise7