Tested in simulator, properly converts data and can output it.