adding new background and legend