rewrote save all method