removed set timeout