work on empty/isset logic