matches tiles and set timeout