usage of stat