weird experiment with functions