Added default init function