temporary save an example of enum with fn