moved word types to package