calling init properly