complete Ex5