use getters for title and content