completed the method 2 and added the outfiles of each to their folder