integrated assign of variables