Adding ex6 framework
Implementing ex6