folder algorithms added