Added new bg code