public AcctsRecMastRec get() throws Exception {

      AcctsRecMastRec result;
      if(Ghost != null){
    	  result = Ghost;
    	  Ghost = null;
  	  }
      else
      {
    	   try {
    	    	
    	         String name = sc.next();
    	         int balance = sc.nextInt();
    	         result = new AcctsRecMastRec(name, balance);
    	      }
    	      catch (NoSuchElementException e) { 
    	         result = null;
    	      }
    	      catch (Exception e) {
    	         throw e;
    	      }
      }
      temp = result;
      return result;
   }