stat works