getting status and almost parsing the result