implement basic tf-map generation