added public to path.join