building legend box