Added functions to rawdatainput