generalize init conditions