diff --git a/Builds/VisualStudio2012/RippleD.vcxproj b/Builds/VisualStudio2012/RippleD.vcxproj
index 64ee71e238..07685c299c 100644
--- a/Builds/VisualStudio2012/RippleD.vcxproj
+++ b/Builds/VisualStudio2012/RippleD.vcxproj
@@ -2099,6 +2099,7 @@
+
@@ -2151,7 +2152,6 @@
-
diff --git a/Builds/VisualStudio2012/RippleD.vcxproj.filters b/Builds/VisualStudio2012/RippleD.vcxproj.filters
index 0da0204d0c..787623a4ae 100644
--- a/Builds/VisualStudio2012/RippleD.vcxproj.filters
+++ b/Builds/VisualStudio2012/RippleD.vcxproj.filters
@@ -2502,9 +2502,6 @@
[1] Ripple\resource\api
-
- [1] Ripple\resource\impl
-
[1] Ripple\resource\impl
@@ -2850,6 +2847,9 @@
[2] Old Ripple\ripple_app\ledger
+
+ [1] Ripple\algorithm\api
+
diff --git a/src/ripple/resource/impl/DecayingSample.h b/src/ripple/algorithm/api/DecayingSample.h
similarity index 95%
rename from src/ripple/resource/impl/DecayingSample.h
rename to src/ripple/algorithm/api/DecayingSample.h
index 192b59bed9..c44764ee88 100644
--- a/src/ripple/resource/impl/DecayingSample.h
+++ b/src/ripple/algorithm/api/DecayingSample.h
@@ -17,11 +17,10 @@
*/
//==============================================================================
-#ifndef RIPPLE_RESOURCE_DECAYINGSAMPLE_H_INCLUDED
-#define RIPPLE_RESOURCE_DECAYINGSAMPLE_H_INCLUDED
+#ifndef RIPPLE_ALGORITHM_DECAYINGSAMPLE_H_INCLUDED
+#define RIPPLE_ALGORITHM_DECAYINGSAMPLE_H_INCLUDED
namespace ripple {
-namespace Resource {
/** Sampling function using exponential decay to provide a continuous value. */
template