try except for init