added stuff to mainactivity