updates to tile functions