added return 1 for non confirms mode