still in the process of getting the rpacket wrapper working