Passed in pointer should be used to store the received data