setTimeout receive arguments for delay function