can we make the name of this method a bit more intuitive such as calculateAndSetTimeGroup,becuase this is not just a setter