custom path resolver (untested)