complete Ex1