introduced the concept of ActivityRecord