added input for path