Renamed ret_cal to retVal