remove methods and replace with delegate.