a little bit of stuff in mainactivity