Wrote proper getters for all private fields