working on panel style and streamlining functions