editing mainActivity