replace member getters by public final fields