started to add tile exchange logic