adding funrec.hs