added ex12 core files