modified changeType