check for data, logging