Added (malfunctioning) framework for rearranging words