Experiment with generic functions