Adds joint history