removed timeout fuction