remove useless duplicated code
Merge pull request #38 from theckman/useless_interpolation

remove useless duplicated code