begin refactoring to backbone