encapsulating emptiness handling