add setters for int attributes