Added background and foreground layers