updated display_thenumber() as const