Changed instance code