Renamed getfailed to start_swap now that it is working