added fun (issue #1)