init method: bug when called only with one argument