before moving to Ember Data