Base calculation and overwritten calculation added.