changed a this to self. variable scope...