added exc. 1 & 2 from recfun (done) and exc. 3 but not compiling yet