working on record display (curves displayed at box click)