adding information handling for dead tokens and total tokens, is still commented out of the code