Using get methods effectively