Finished dispatch algorithm