use path instead of hard code url