changed getter methods to provider fields