Fixed foundations function partial that compiles