Called the init method from inside the constructor