p1,3: cleanup; p4: add  property to legend