Updated character.py