Finetuning for red rope visualization
Removed some unnecessary function and comments