just minor code changes, can't figure out why character 'skips'