bob: better check for emptiness