lastChar? please revise variable naming