adding debugbar and core changes