some validation on the data