change self to instance