Played a bit with enums still useless code.