added getpath