moved input material into raw