foundation analysis