modified timeout