removed settimeout