Apparently enum's inherent getName wasn't working, so I hard coded if statements