init parameters now in the struct