added code for / path