Implementing tileset functionality