Revised algorithm