saving before working on filtering