Yes - the 'doInBackground' method has an extra closing brace. The 'while' loop is being closed twice.