Another method that returns the activity