can use simpler seturl afterall