add code to handle corner case in Single_Number