fixed the provider methods' syntax