working parsing of url variables