stat calculating repeared & type mechanics