now using proper type in reponse arguments. fixed compilation error on win32.