making paths optional