Added comments.
Modified retrieveData to take a data type parameter. Renamed to dataTrequestType.
Added a time test function to measure the difference between the two request types.