Added add function to calc