use enum.valueOf() instead of ifelesthings
repeated string concat is bad for GC don't do it
enum hax