finished general reco addition algo