flag ok in order to initialize once