Added function to reverse the no