add missing print statement to get_center