decoupled path from str