Added the function setTimeout