changed format of input data in SCRh.fn