Renamed rawdata, added __init__