Changed constructor of Character class