added a value that pluses everytime it reads an animation