first draft of my_realpath