added assignment statements back in.