thinking about string manipulation