working on greenlet integration