Added legend layer