added notes and ex3