added url param to index