oops, need to handle redirects etc