Declare `activityObject ` and `activity` on one line each.