moved character definition around