added MainActivity working