Add basic STAT implementation