Added custom init params functionality