putting previous code in the previous_code subfolder