debugging in mainactivity