added interface to save results