This is used to retrieve data from realpage