added confirmation support