adding timeout loading