get rid of "then" after wait 100.