complete stat stages implementation