fun and danger with functions