calculator server stub