added confirmation callback