passing init params properly