cast after calc