implement calculate. save and load response.