add core and panel