add validation, to verify incoming books are correct