Dealing with the data received from pocket