debugging frontend