protected function render($tmpl, $in_data=array()) {
        try {
            $data            = array();
            $app             = array();
            $app['content']  = $in_data;
            $app['settings'] = $this->_viewData['settings'];

            $data['app']     = $app; 
            $data['global']  = array('styles'=>$this->_viewData['styles']);
            $data['device']  = $this->_viewData['device'];

            return $this->_renderer->render($tmpl, $data);
        } catch (\Exception $e) {
            return 'Issues with data, cannot be rendered';
        }//end try

    }