semi stable; legend icon before text works; no test cases implemented yet