delete core (untested)