refined version of results saver