new function for parse url