[code] added MainActivity