Please take care of code indentation. Also, what does `self` refers to here? A `casper` instance won't be passed here.