added legend

idl is still shit