Adding URL parse method