finish execise3.1