added basis for character logic