added block in legends