added ex3 for derek