added get path as well