change delegate method.