updated validation algorithm, DESCRIPTION