tiles now have functions