core almost done