Type define. Upgrade2