Modified  Character and Items class