basic version of stat