Added basic code for rope