Started working on procedure on RawToProfile