foundation for stats