The class for the calculate