simplify Main Activity