adds ex3 framework