removing unnecessary assignment