starting to move logic to backbone