finished the new tile function