adding url parsing logic