safety counter methods added