changed build core to our own