first fix for panel, still has selection
move options etc. into scope wrapper