moving model back to type.