get rid of extraneous resolvePath function