new folder algorithms