Implemented OpenSingles algorithm