Added mkPath function