removing unnecesary assignment