added blank data handling functions