improvements
save results correctly