Wrote basic support for data packets. May/may not work.