added assignment
made corrections