for saving methods of mathematical exercise