added setRaw method