changed dig return type to tile