ebo: make more flexible