kirillov added os save current count value