added initialization of the u vector after system setup