re-structuring data request from server.