remove old Functions.r