added code for live machine verification