refactored to show a static cell if no title is given