added main activity changes