Complete savePirate method