completing new algorithm