Finishing Alrogithm