added temp debug code in linear value fun