validation routine finalized