adjusting string positions