changed get and assign to $ assignments