corrections made.still incomplete.
made correction-was throwing errors