changing type