set time out function and === for comparaison