new tile function now working