working, trying to get timeout to work