url creation sort of working