add stat method