working on tin stuff to add z values :(