added old output and saving and stuff