Fixed confusing signatures
fixed return Values in providerDelegate