demo: check for empty data