minor testing edits and char optim