better use of the activity