implemented upto my-drop-while.