tempoarily disabled color change on subpanels
refactored subpanel
committing for backup