echo operator changed to debug () function in data () method.