Added verify functionality