further work on define-sandbox... export and definitions