simplified virification code