removed old code from bg.coffee