change to total_timeout and tiny correction