a stupid implement of remote_run. rewrite Time using def_class