added builUrl method