improving OscApp.template