first attempt at fun1 and fun2
added quick comment.
possible fix for fun2