started implementation of getMetadataForURL method