see if there is data first