add setContent() method