removing core