depricated defaulttype