adding legend src file for prior commit