Added protocol and delegate to allow access to urls array.