worked on initialize Methode