pass $self to the modified method