added #on_self to convert 'self' to 'this'