Factored out core