subject extract and check for emptiness