core + database