Modified existing tile logic.