uses correct setters/getters