Cleaned up backbone code