use key from mapping for path