use new activity constructor and renamed variables