Separating calculator functions