object access via methods instead of members