adds nearest interp
cleanup