complete Ex6