spinner for retrieval of tw documents