figuring out how to java enum