wrote initializator