added optional path