add close to instance class