added mainactivity