main page links work, get params function