legend accordion added