made all the get functions constant