use own legend