added timeout init