modified for verification