close to switching to byte code enums