changed timeout coding for complete?