Started working on the logic delegate.