added printf argument in init