initial calculation controller - move to controllerSSSS