capturing url