samples validation