Added new Receive function to data class