implements stat