Fixed variable naming and added access modifier for the marker container