Revert "kjlsdf"

This reverts commit d079599f3465bbd549f4b1ae9857b0ce8033270d.
added and required foundations functions