Changed stub API to use strings for temp instead of numbers.