added delegate.