implemented add and verify methods