refactor url_for
add comment