updated to use coreTools