book validation added