removed the val assign