different way to index into string