adding valueOf for enum symbols