```coffeescript
class window.GlobalFeedActivities extends Backbone.Factlink.Collection
  _.extend @prototype, AutoloadCollectionOnTimestamp
  model: Activity

  initialize: (models, options={}) ->
    @_count = options.count || 20

  url: -> "/api/beta/feed.json?count=#{@_count}"


class window.PersonalFeedActivities extends Backbone.Collection
  _.extend @prototype, AutoloadCollectionOnTimestamp
  model: Activity

  url: -> '/api/beta/feed/personal'
```

Create backbone model that represents discussion activities
user
```coffeescript
class window.GlobalFeedActivities extends Backbone.Factlink.Collection
  _.extend @prototype, AutoloadCollectionOnTimestamp
  model: Activity

  initialize: (models, options={}) ->
    @_count = options.count || 20

  url: -> "/api/beta/feed.json?count=#{@_count}"

class window.DiscussionsFeedActivities extends Backbone.Factlink.Collection
  _.extend @prototype, AutoloadCollectionOnTimestamp
  model: Activity

  initialize: (models, options={}) ->
    @_count = options.count || 20

  url: -> "/api/beta/feed/discussions.json?count=#{@_count}"



class window.PersonalFeedActivities extends Backbone.Collection
  _.extend @prototype, AutoloadCollectionOnTimestamp
  model: Activity

  url: -> '/api/beta/feed/personal'


```
assistant