a cout message was remaining in shift_right