better syntax with getters