move datum-type to ext