switch to setter/getter
specialize methods/types for Java