Adding print_core