converted world type to enum