added defineTimeout in synopsis