added resultfragment and calculation methods